#ifndef WIDGET_H
#define WIDGET_H

#include <QWidget>
#include <thread.h> //添加头⽂件
QT_BEGIN_NAMESPACE
namespace Ui { class Widget; }
QT_END_NAMESPACE
class Widget : public QWidget
{
 Q_OBJECT
public:
 Widget(QWidget *parent = nullptr);
 ~Widget();
private slots:

 void showTime(QString Time);
 void on_pushButton_clicked();

private:
 Ui::Widget *ui;
  TimeThread*thread1;
  TimeThread*thread2;
};
#endif // WIDGET_H
